<div xmlns:th="https://www.thymeleaf.org"
     th:fragment="widget (sidebar)"
     th:class="'card widget ' + ${sidebar.hide}">
  <th:block th:utext="${sidebar.content}"/>
  <span th:if="${sidebar.show_ad_tag}" class="ad-tag">[[#{widget.ad_piece.name}]]
                <svg th:if="${sidebar.ad_tag_close}" class="click-close" data-close=".widget"
                     xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><path
                  d="M3.25,3.25l8.5,8.5M11.75,3.25l-8.5,8.5"></path></svg>
            </span>
</div>